﻿
Partial Public Class autoJob(Of hash_t, impl_t As autoJob(Of hash_t, impl_t))
    Private Shared Function string_valid(ByVal i As impl_t, ByVal field_id As Int64) As Boolean
        assert(Not i Is Nothing)
        Return Not isemptystring(convertor.cast(Of String)(i.get_value(field_id), False))
    End Function

    Private Shared Function bytes_valid(ByVal i As impl_t, ByVal field_id As Int64) As Boolean
        assert(Not i Is Nothing)
        Return Not convertor.cast(Of bytes)(i.get_value(field_id), False) Is Nothing
    End Function
End Class
